function getNumericMonth(date){	
	return parseInt(getMonth(date),10);
}

function getNumericDay(date){
	return parseInt(getDay(date),10);
}

function getNumericYear(date){
	return parseInt(getYear(date),10);
}

function getMonth(date){
	var pDate = date || "00000000000000";
	return pDate.substr(3,2);
}

function getDay(date){
	var pDate = date || "00000000000000";
	return pDate.substr(0,2);
}

function getYear(date){
	var pDate = date || "00000000000000";
	return pDate.substr(6,4);
}

function stringToDateString ($date,$pseparator) {
	//Access
	var $separator = $pseparator || "/";
	
	if ($date == "") {
		return "";
	}

   
	$month = $date.substr(5, 2);
	$day = $date.substr(8, 2);
	$year = $date.substr(0, 4);
	 
	return $day + $separator + $month + $separator + $year ;
}

 